Northwoods.GoWPF 2.2.4 Assembly
DoLinkAdded Method (GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>)

This should be called when a link data object is added to the LinksSource collection.
Syntax
Public Sub DoLinkAdded( _
   ByVal linkdata As LinkType _
) 
public void DoLinkAdded( 
   LinkType linkdata
)

Parameters

linkdata
Remarks

This is used for model update, when the model data has changed and the model itself needs to be updated to reflect those changes.

If the LinksSource collection implements System.Collections.Specialized.INotifyCollectionChanged, the model will automatically call this method. Otherwise, you need to do so immediately after the LinksSource has been augmented.

This raises a Changed event with a value of ModelChange.AddedLink.

Requirements
See Also

Reference

GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Class
GraphLinksModel<NodeType,NodeKey,PortKey,LinkType> Members

 

 


© Northwoods Software 2017. All Rights Reserved.

Send Feedback